HasDropDown: don't lose pointer to mouseup listener
when two mousedown events occur in a row.

Not feasible to test this via robot since it requires rapid right-and-left
clicking but see #18094 for test case.

Fixes #18094.