Fixed the bug that hiding tooltips get stuck in hiding state, when calling hide() twice.

Fixes #32