fixes avatar rendering if none is present in topbar