Fixed a bug in the camera controlleR