Fix mask brush group undo / redo