Use system metric values for dragging threshold to avoid unintentionally starting a drag operation.

Fixes #4956
Use system metrics for doubleclick rectangle