I haven't examined my jams with my Official Sherlock Holmes magnifying glass yet, but it seems to me there's some space in there ... 1/4"? ... 3/8"?
How much space is in your jam when the door is closed?
With the buttons I have, the shaft of the switch is about 1/2" long ... I figured I'd mount it with washers behind the sheet-metal so the threads come through JUST enough to receive the nut ... then, see how far the switch-shaft needs to travel to break electrical contact ... then cut the shaft down as needed.
If it ever stops raining here in Jersey, I'll check it out in more detail.
54 Chevy Pickup