Fix bug with oversized avatars