Fix a bug when 'show nickname' option is on.