Fixed a sound playing problem for Macs.