Fix itext rendering

Work in progress.
First line fixe and text background color fix.
moved one property from itext to text.