Fixing infinite backspace issue
Fixing input when not selected