[DF-3489] Fixed undo/redo wrong region