Fix exception handling for loadSoundImage