fix scanline