Fixed bug causing inifinite pages when only a single p tag fits and just one word is overflowing