Preedit text can be active even after text commit. Resetting the input focus will lead to unintended commit of the preedit text. #152 Closes: #152