Added icon handling for hats