Cursor finished but error when rendering IME