Add similar refPoint validity check to zoomBy