firefox detecting images in page as files on drag

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
Merge pull request #1303 from D-storm/drag-drop

firefox detecting images in page as files on drag