PRD-4841 - Fixing a crashing bug when content is shifted on pagebreaks