apply zoomFactor earlier