Fix problem with Twitter share and Facebook buttons