fixed drag-and-drop support for SDL older than version 2.0.5