Fixing bug when target and Origin Point were the same node