The view invoice link is not formatting correctly in theme using WHMCS integration.

I am trying to integrate WHMCS using the integration plugin. I noticed that when customers try to view the invoice the content is 1080px wide and the theme container is about 800px wide. The invoice is overflowing into the sidebar and also the sidebar widgets are not showing. When I click the pay all button it formats great. I have not noticed any other formatting problems either. I am using the WHMCS portal theme with Divi wordpress theme.

It will be hard to show a live demo because the only ones that see these pages are my clients. I have attached a screenshot to help.

Thanks,
David