Godot 4 is a bit stupid with the way they handle pixels now. They took away the GPU pixel snap and they gave us these two new settings.
If you go into your project settings, look for the rendering tab, and click 2D, if you look hard enough you’ll find the two settings, one’s called “Snap 2D Transforms to Pixel”, the other is called “Snap 2D Vertices to Pixel”. Turning both of these should fix your problem.
This didn’t work for me. My scene is actually 3D, so I don’t know if that is causing it. I will create an issue on github.