fixing removing the tooltip when the tooltip is gone.