fixed bug, so that when the mousedown event is fired, no action is taken, if a drag and drop has started. When drag and drop has finished, we can go back to acting on mousedown events