uix:TextInput: avoid situations that could lead to cursor_row being off
screen. closes #885