Fixed a bug that prevent selecting an edge.

function mouseup() is only for node, so there is no need to reset link
here.