winemac: Keep the result string in the IME UI window procedure.