Fixed issue: Avatar size must be set in User::getAvatar