Fixes swaped min-max pairs.

def rectified(self):
        """
        Fixes swaped min-max pairs.
        """
        return Rect(np.minimum(self.mins, self.maxes),
                    np.maximum(self.maxes, self.mins))