[library] Ensure long tap is not triggered when dragging starts

Fixes #2