Corrected an error in camera class