Making the collider tool cursor's snapping when approaching a node more robust