Fixed a bug that was preventing drag and drop in ubuntu