fix dragging nodes by touch

Works in Firefox on Windows Vista and Android 4.4.4. I don't know why, but it doesn't in Chrome on the same OSes. I haven't tested it in other browsers.

There is no multitouch support.