Fix triple-click bug.
Merge pull request #619 from jcushman/PIA-tweak

Fix triple-click bug.