Minor fixes for resizing avatars.