Fix: cmd+z (undo) when a node is in edit mode doesn't work