Fix some audio related crashes