Fixed the case where several ambient sounds are using the same sound file.

This will prevent to make the engine repeatedly start/stop the sound.

Fix #318