Volunteering in a place which desecrates Shabbat

Q: Is it permissible to volunteer for an organization which desecrates Shabbat?
A: Yes, with the condition that you have no part in the desecration of Shabbat. You are not guilty for their violation of Shabbat. This is similar to what is written in the Mishnah Avodah Zarah (44b): Why doesn't Hashem extinguish the sun – after all idol worshippers worship it? Answer: We are going to lose out on the sun on because of these idiots? You volunteer for a good organization, and we should not extinguish it on account of confused individuals who desecrate Shabbat. Another example in the Mishnah: There was a bathhouse in Acco in which they placed an idol of Aphrodite. Can one bathe there? Yes – said Rabban Gamliel – she came into our domain, i.e. we did not build a bathhouse around her. There was a bathhouse and they put an idol inside. We can't bathe on account of this? Is it not that people desecrated Shabbat and an organization was built around them, rather there was an organization – and to our distress – there are people who desecrate Shabbat there. This is not something which invalidates the good things the organization does.