Avoid flickering of the tooltip