remove calls to calculateRotatedExtents() use Extents.rotate() instead