indeed, I thought about a take out of the backsite of the frame, too. Or two layers of frame with a slimmer one on behind the first layer. So that the mirror cannot fall out tonthe front.
The lips have the same function and thats a good idea.

Have to build a new frame, because the current/old one is exactly sized for the 24".