Fixed a bunch of strict-mode errors in the camera controller.