Fixed avatar image not showing up

Fixed an issue where the avatar wouldnt show up when viewing a profile