Reworked sprite rendering to render only for the current scanline.