bugfix in undo with color move/delete