Fix for undo/redo.