core: improve ayame:head rendering