Fix the toolbar overflow anchor check on click.