Possible fix for distance-based chat not working - may fix part of #2.