interface: Only generate double click event if mouse did not move more than a small amount

Fixes #77