Check whether the mousedown event belonged to a valid drop target before preventing default

This issue affects 3.16.0 (yay).
Sorry for the spam on the previous issue. I have yet to get hub to make sensible pull requests against non-master branches.