Merge "Fix sound effect attenuation calculation"