Social icons not displaying correctly on first load