Implementing the camera and displaying a map in the render loop