Added correction for camera's rotation