Bug fix for social media buttons