Updated mouse methods for moving nodes.