Fixed PanZoomWidget bug