Correction of some problems around nodes snap