I don't like that "in the round it was cast" wording. It implies the spell is prescient. If an immediate action moves something out of or into the range, it somehow predicts that? And you still have the problem of Fighters throwing themselves into its path just to break invisibility, you just limit it to the first round. And does the invisibility break when you cast, or when it becomes counted as an attack?
No, I think the root of this problem is trying to make this at all dependent on outcomes. Whether or not you break invisibility should be entirely dependent on the action you take, not what consequences it has for other entities. I prefer any spellcasting at all, but did mention those alternatives for people who prefer something a little more flexible and/or hate mundanes just a little more. If nothing else, though, casting cloudkill or wall of fire should either break invisibility, or not, end of story. No mincing about "Well is somebody in its path?"
If you absolutely must tie it to "Did I hurt somebody", have it check as you cast, though. If nobody's in the cloudkill when it's initially conjured, you don't break invisibility, no matter how many people go charging through it later on.
EDIT: And I think letting BFC work with invisibility but not anything else is a terrible design decision, so that's coloring my suggestions a bit. It's not like BFC has gotten the short end of any other stick in the game.