Switch to mousedown rather than click.