better handling of rotated entities

This improves the rendering of selection handles for entities that have been rotated.
This may not be exactly what I want, but for now, base the "where to render the rotation handles" on where you are looking relative to the objects center, not necessarily the bounding boxes center.