Fixed an error with skins.