Limit zooming square to the right dimensions for zooming over x axis or y axis