(G4) Smart corner shifts when a new element pasted in

If two corners nodes share the same coordinate, and one has a smart corner with it, when another path is pasted in (or deleted), the corner component would shift to the other node. This change cannot be undo-ed.

I know that “nodes sharing the same coordinate” may be illegal, but in some cases I have to build such a composition. The shifted corner component might be a bug anyways.

The shifting can’t really be avoided in all cases because of the way corners are attached to nodes and how they survive path operations (e.g. remove overlap).