Fix bug with loading save files