Fix frame layout issue during IME-composition