Fixed Copy/Paste undo/redo