fix a bug when display emoji on ios