Call preventDefault when starting to drag the cursor. Fixes #12.