Fix triple-click bug.