Fixed crash on null TextInput event.
Merge branch 'textfix' into stable_BtA