Properly scale rotated rectangles