Moved PolygonOffset and RotateForEntity into backend