Don't render text lines outside the visible area.