Fixed bug in Paragraph class.