Introduce a drag threshold for Drag and Drop (#13381)

Based on partial fix by Fabian Lange.

Change-Id: I1a18c6ea105d87496b196b93e701aaccb987b3e7