Fix swapped line sensors