Move camera.setTarget logic to draw() in order to fix the camera wobbling