Fix undo - redo message passing