avatar rendering fix