Fixed the bugs that crash the game during Sound initialization