Added a deadzone for dragging detection.

Allows click events to be fired properly when using precision input,
such as a wacom tablet.

Closes #10
Clarify logic and make the threshold a constant