fix input not working under IME