Fix player skin changing code.