Fixes "stuck" drags when trying to drag multiple windows simultaneously, and DnD thresholds on hidpi.