Fix application doesn't react to input on osx