fix for sharp change in attenuation when too near a source