Fix for scanlines in hires mode