I think your shrimp will be fine. I don't know if you have ever touched your bubble coral, but you would notice that it is covered in a heavy layer of mucus. It is sufficient to protect your shrimp, and the shrimp knows it. Bubbles will not reach out and grab him, they are not that strong.
One sting is not enough to down a shrimp or fish. I think that is why bubbles have the symbiotic cells inside that feed it. I only feed my bubbles a piece of scallop about every 3 or so months. They do love the light.