Nothing in the rule indicate that you stop hiding if you cause a creature to make a saving throw, such as when you ram a Flaming Sphere into a creature. What the rule say is that if you are hidden when you make an attack, you give away your location when the attack hits or misses, which isn't...