Fix drag and drop loading on Windows.