Fix Chinese input bug