Changing the UpdateCamera method to updateCamera within CameraController.