Fixed a bug in GameDefinition::new that would modify the input hash.