I had the same issue. The new Genuine OEM BMW filter part numbers have the same design change.
Without the plastic frame, the new type air filter, when fitted, allows for a gap as the fit is too tight, and there is no structural rigidity.
Maybe I tried installing it incorrectly.
Now, I look for NOS (new old stock) of the old style framed, charcoal activated filter when I need a replacement.
Just run what fits. As mentioned, there are a couple different designs. I don't recall buying any that wouldn't sit flush and needing to stay away from, but with lots of brands out there now it's possible there are some crap ones.
That said, the tightest fitting filter isn't going to help for **** unless your "connector tubes" have all 3 locking tabs in working order and properly fitted to the firewall.