Fix for 'hanging' lines in linetracker