improvements to image drag and drop