Added a deadzone for dragging detection.

Allows click events to be fired properly when using precision input, such as a wacom tablet.

Feels good enough to me for any tool. Adding per-tool support would be far more complex, as far as I can tell.

Closes #10