Fixed the bug where the node was sticking to the mouse pointer.