Fixed a bug in SoundManager.
Looping sounds should be paused when out of hearing range to
save some CPU cycles in the mixing code. The check for distance
was wrong and this fixes the issue.