Fixed bug preventing avatars from being displayed