Object placement slightly off in preview?

I’m making a pixel art game and i’m laying out objects so they perfectly align with eachother, but when i preview the game, some objects are like half a pixel off of where i placed them. is this just a thing with the preview or is there a way to fix this?

editor view (the red boxes are collision that is hidden on launch