Fixes a crash related to sounds