Fixed bug with broken image drag and drop