fix zoomToExtent bug