Add support to limit the amount of text lines drawn. And support to start at a later line. This to support scrolling textboxes.