Fix issue in Viewer when rotating the camera