Cutlist editor: Fix the broken undo/redo capability.