Fix issue IME doesn't appear after IME is restarted