Correct calculation of node loop center
Update node loop orientation in PartialConnection according to mouse position