Fix avatar bug that appears when accessing SUD via CNAME