View distance function name fix