Fix transient Selenium bug when checking tooltips