Make node category selection less tricky.

Node categories are now selected when the mouse is down, not when the mouse is fully clicked. This makes interop with Wacom tablets easier.

 This fixes #361.