Seems Razor stretching and tilting are not added to the undo history unless an automation item is within the razor area here.
So if I move an area, then undo, it moves the area back but also restores the points before any tilting/stretching was done.
Win10 / REAPER 6.33 / x64
EDIT: Tested using ReaComp FX param.