Fixed bug in camera move code