fix drag-and-drop insert in Firefox