fix the firefox issue of drag-and-dop: it navigates to the image being dropped mistakely