Fixes to get polyline rubber-band routing working.