Homemade/ DIY vs. pre-made, commercially available.....
I wonder do the purchased doors have any sort of safety mechanism..... like a garage door has?
If making your own, could you add something like that?
Garage doors typically employ a beam of light across the opening to prevent the door from operating if something is in the way....
Older doors used pressure switches to reverse the door if they met resistance from an object that could be crushed.
I’m pretty sure the doohickies that project the light beam are available separately as replacements for damaged ones.
A safety mechanism like the garage door uses would avoid this problem.
I don’t know enough about how they work or how they could be modified to know if anything like what I’m thinking could even be used. I’m mostly just throwing it out there, because the first thing that crossed my mind when I read the OP’s post was the old ads for garage doors that showed it reversing when it came in contact with a roll of paper towels.... from there I thought about my own garage and how it wouldn’t close today because something had bumped the light beam box and moved it just enough to cause it to think something was in the way.