Corrected bug in line-following