edit: avoid flickering in rtgui_edit_clear_text