Fix wrong text speed for multibyte chars.