The invoice PDF engine breaks when the table is more than one page

The invoice PDF engine breaks when the table is more than one page

If the table spans more than one page, the header and footer are not generated. I have a video of this behaviour if desired by Zoho support staff.