Paste(ing) to Replace anything that includes a component instance with an override, and then undo, the position of that instance will be incorrect.
To reproduce:
UPDATE TO MAKE THIS MORE CLEAR:
This is about components and the resultant change in width or height of instances that have text overrides. To reproduce, you must use a component instance with a text override (e.g. a button). Then…
- Position instance differently in an alt of something (B)
- Copy original thing (A) and Paste to Replace over alt (B)
- Undo
The position difference from where it should be reverted to (center) is half the increase in width from the main component. It seems the undo action is based on the original width of the component before an override (i.e. before its width changed). This also occurs with height differences as well.
See video of this (Edit menu in use to show actions):