Or maybe change the method checkCameraUpMovement to:
I'm not sure if this will work though, but it's worth testing.
1 2 3 4 | private void checkCameraUpMovement() { getWorld().setCameraLocation(getWorld().getCameraX(), getGlobalY()); } |