Don't call unmarkText from reset, clear preedit string directly to
avoid infinite loop.