make image dragging work on Firefox.