Fixed crash when dragging nodes.

This occurred when a "dangling" connection existed without a source nodule, as happens when inputs come from outside a Box or a node has been hidden in the GraphGadget.