Fixed the GridView adapter for profile photos.