Resend correct gcode line when resend is requested
(manually cherry picked from commit c8875fd)