Fixed IsValidClass()

skinid replaced with correct id