Fix an error when loading sounds. Sounds were working anyway (fix #236).