Fix zoomTo feature in popup.