Text editors and TextInput: dispatch soft keyboard events (closes #306)
TextInput: better handling of focus when not visible (references #605)