Renderer camera offset algorithm figured out