Keep the image centered when zooming

The visible center of the image should stay in the same spot now when
zooming. This feels nicer than having the view skew towards the top left
corner.