This fix repetition on modifier keys, e.g. Control.
For every batch of text_input_v3 updates, if there is no preedit in this batch, preedit should be cleared.