fixed bug with avatars not begin resized initially