fixed the camera orientation issue