Fixed dnd problems with some browsers.

Firefox still not working 100%