Differentiate between clicking and mousedown.