fixes #410 - click() triggers mousedown and mousedown events