Fix a couple of distance display bugs.