fix a bug with singleplayer and custom player skins