fix bug when showing sharing icons