To be fair, I'm not saying battery boxes are perfect- but the far, far, far, bigger problem is batteries are no longer made to a fixed standard!!!
The battery tray molding exploits the fact that batteries have a protrusion on the positive end of the battery. This post or nub or bump is supposed to fit between 2 raised plastic moldings to prevent you the "user"- who cannot follow instructions or labels and warnings, and puts the battery in the wrong polarity. Those nubs or plastic molding prevent the wrong end of the battery from making contact to the metal contact.
Because of variations in how big the diameter of the protrusion is, how deep, how far, how wide, and another killer- how long the battery is tip to tail, these modern mass produced in a foreign country batteries are no longer fitting established battery tray configurations.
Again, look at what changed- it's not the several year old battery tray- no, it's the batteries you are buying.
This exact problem cropped up in the Menards remotes.