Fixed a bug when loading the player's settings from a file