fix crash issue caused by BGMs for some games