Change text input, fix bug where backspace was not recognized on OSX