Unbreak display of IME text during composition

The text was not appearing when composing via the IME. It would not show
in the document until after the composition was complete.