Wave profiles should take into account avatars modifications, fixed #397
More work in #586