Fix undo/redo
Fix mask save error