Merge "Handle IME hide internal state correctly." into rvc-dev