Switched from camera object to camera.main for mouse position.