fix for flickering avatars