Check tooltip is undefined, not just empty which allows it to be reset