Fix unexpected tooltip disappearance.