Temporary fix for issue where words go out of bounds

This happens because the 10 pixels on the sides are not considered into the
maximum width of the line. Lines with width 790~800 pixels go out of bounds.
Thus, the TypePanel is set to the MainWindow without margins on the side.