Mozilla (the Company) has always had problems. They want to be something they're not. But the people on the Mozilla engineering team are top-notch and rarely affected by company drama (and probably feel the same way as you do about it).
Mozilla is one of the few places you can do this specific type of really interesting engineering work, without having to be at Google/Apple/etc.
(ex-Mozillian here :) )