Camera teleports when rendering

In the viewport, I have the camera pointed at the character. The video plays fine. But as I start to render the video, my camera is transferred to zero coordinates. How to fix it?