Fixed an issue where sound playing crashed