Factored out zoomFactor.

The offset compensation doesn't work for zoom factors other than 1.5...