support variable height in cosmetic sprites