Fix bug that caused social icons not to work