fixed bug where the tooltip stayed around after leaving the screen