[DF-31] Fix landscape tilemask changes undo/redo