prevent whitespaces-only tooltip to render

- prevent whitespaces-only tooltip to render