Fix some bugs with sounds