Fixes earmuffs and custom items for ear not showing up properly

Earmuffs and other ear equipment, including custom items, were rendered below the hair layer, which doesn't make any sense, at all.
Moved the ear layer above the hair layer and added checks for BLOCKHAIR and BLOCKHEADHAIR flags to hide the equipment properly for surgery caps, balaclavas, etc.