Fix intercom chat icon disappearing randomly
The intercom icon sometimes doesn't show in the blue intercom circle:

I tried fixing this before by manually running the update function, but that doesn't always work.
~The intercom circle sometimes also appears on the embed page now that we've moved it into the app. I've added code in there to prevent that from happening, but it appears to intermittently break.~ (Now fixed, see update below.)
Unfortunately the intercom library for Angular is effectively unmaintained so it's going to be hard to fix these things without hacks or some time investment.
One hack could be perhaps to rerun the update code after a setTimout?
We've had a report of a part of this issue - the intercom chat appearing on the embed page where it shouldn't - here it is: https://app.intercom.com/a/inbox/q3x5lnhp/inbox/shared/all/conversation/106323200005416
Probably a good reason to bump this in priority a bit!
The intercom circle sometimes also appears on the embed page now that we've moved it into the app. I've added code in there to prevent that from happening, but it appears to intermittently break
This is now fixed with #793
Also, while working on #793 I noticed that the chat icon only really disappears in the workspace! If you go to app.maptio.com it appears to be there, but as soon as you open a map, it disappears. Not sure if that's 100% reliable, but it seemed to be the case for me recently. Is there something about the workspace that triggers the intercom chatbot icon issues?