Finally fixed the camera jitter.