Make editors commit preedit themselves on losing focus