implement text input popup renderer
TextInput: Fix backspace deletion when input was empty
InputBox: add blinking cursor