You’ve probably been ignoring this feature.
Most aluminum foil boxes have press-in tabs that secure the roll in place, so you don’t have worry about it flying out every time you rip off a sheet.