Fixed more bugs in undo/redo