Fixed the issues with hyphenation and justified paragraphs resizing.