Fixed a display problem with negative distances.