Fix tip not detaching from DOM

Calling hide() does not remove the tip from the DOM when enter()
has been called. This pull request fixes #10740.