Make GetZoomFactor a public function