Added patch to fix edge cases in TOOLTIPS_GetTipText.