Fixed crash introduced when InitMods call was moved.