Fix object deletion while sound playing