When click a node, move it to center.