Fixes unexpected error after opening an imported game.