There is centuries old legal doctrine on the subtleties of criminal intent and negligence and liability. You didn't discover a gotcha that thousands of lawyers never noticed.
But it is currently a strong mitigating factor. The law is full of oopsie defenses.