some fixes for the rubberBandZoom.