Fix weighting calculation in the event of dragging nodes.