Fixed ortho extent calculation to scale to different bed/canvas sizes