prevent possibly weird behaviors on desktop drag