Heading function bug with the new compiling

New design compile heading function of sprite with bug, moving the object while heading. This means that the image of the sprite is not only turning in it's place, it is also changing it's position.
The object turning around it's position (coordinates)

Investigate the new attributes of a Sprite that determine its relative center of rotation (0 to 1) in both x and y coordinates.

Thanks for the response;
As a part of new features originX and originY functions has been added but my old project is failed. When I added the new config with (0.5) parameter, the issue is solved but I need to reconfigure all canvas (X,Y) positions according to new middle origine. This time sprite "edge riched" function failed and made my custom edge reached function. Now it is working as before...