Slight tweak to ui._popup_text_draw