Replace error for non right-angle rotations in Rect.rotate.