round x, y coordinates in getPoint to make points easier to compare
edit rectangle after rotating