2053: fixed bug with editing avatars