Fixed Delete key and backspace behavior