fix dragdrop bugs in Firefox