I came up with a workaround for this, which simply excludes the integration from the problem gallery pages.
Change the global.php edit from:
Code:
Content visible to verified customers only.
to:
Code:
Content visible to verified customers only.
I'll add more pages to the list as they're discovered. If someone has a more elegant way around this please let me know.