Fixes hat saving and glasses.