Jetpack sitemap error on mapped domain

Having an issue with Jetpack sitemap and Domain Mapping on all the sub-sites in my network. Jetpack generates the sitemap urls but they point to the old sub-domain, instead of the mapped domain.

That seems to cause a console error when viewing the sitemap via the mapped domain url:

“Unsafe attempt to load URL from frame with URL Domains, protocols and ports must match.”

If accessed through the sub-domain(, there’s no error and the sitemap displays.