That's true but as MaxBarraclough points out in this discussion the Mozilla Corporation could simply remove an equal number of it's engineers from Firefox development. Thus your donation provides no net gain. There'd also probably be some overhead from managing those new Foundation engineers as they probably, legally, cannot be directly managed by the Corporation.
So as long as the Mozilla mission is not aligned with the "Firefox mission" there is no winning.