Fixed space and backspace working while the input was inactive