Dropdown: use currentTarget instead of target

Fixes #5275
Merge remote-tracking branch 'upstream/master'
Merge pull request #5980 from brendanblackwood/master

Look at currentTarget instead of target in dropdown