fixes to text editing in TUITextRenderer
fixes to text editing in TUITextRenderer