Fix ScanLine.