Ambient sounds: Fixed an edge case where the sound would repeatedly starts/stop.

By adding a neutral margin when the sound state won't change, permitting to avoid the problem with float values rounding.