Reset line counter on vertical retrace.