Fix textinput key repeat behavior