Fixed issues loading and creating game packages containing a preferences dictionary