Added zoomFactor to fix some weird Windows bug.