Reset page-break styling when an element splits across pages (#854)