Rotation fix - rotating a rectangle will distort the polygon

Creating a rectangular polygon. Rotating it a few degrees, it loses its rectangular shape (i.e. 90-degree corners), and the lengths of the edges change. Rotating it a full 90 degrees does give a rectangular shape, but not the same as the original one.

More details in the #3 issue.
there shouldn't be a need for timeouts? I'm removing this unless you have a good reason.