fix for 638
Merge pull request #660 from waterbearlang/638_firefox_dragging

fix for 638