Button adds new node, but graph becomes unresponsive to mouse events.