Mark lines as changed on resize.