Fix for dragging.
Merge pull request #3095 from Zuhayr/master

Tiny tiny dragging fix.