Update PreRotation.as

Added support for changing originX and originY so that they work correctly with rotated frames.