Redraw the caret if the composition sequence is aborted

If the user abandons the composition sequence (e.g., by pressing the
escape key before choosing which word to input), the text is cleared and
no operations or other updates are required. Subscribe to this event as
well to ensure the caret is redrawn back at the proper location.