[BUG] In Handles and Stencils stories, the rotation handle is always located on the right of the vertex

Describe the bug

Note: this is visible in Stories but the problem probably occurs in all applications.

The "rotation handle" is always located on the right of the vertex, even after having done some rotation.
So, on a next rotation, the initial orientation of the preview does not match the current orientation of the vertex.

To Reproduce

For the Handles story, see https://maxgraph.github.io/maxGraph/demo/?path=/story/layouts-handles--default or run the story locally.
Same for the Stencils story.

Expected behavior

In mxGraph examples

Handles

https://jgraph.github.io/mxgraph/javascript/examples/handles.html

mxGraph_example_handles.mp4

Stencils

https://jgraph.github.io/mxgraph/javascript/examples/stencils.html

mxgraph_example_stencils.mp4

Screenshots

Handles

story_handles.mp4

Stencils

story_stencils.mp4

Environment