Fixed bug with the camera