Allowed zoomWindowPosition to be a function