Move coordinate conversion to camera.