Fixed hat getting stuck