Maybe it could be two different bricks, I think this was mentioned before, but the "glass" part would be really offset, like in the following "diagram".||||As you can see, red = the frame, and blue = the glass.
That would involve placing a brick inside a brick, I believe.
It could be two different bricks. The frame automatically plants the pane, and when either of them are destroyed, both are destroyed. And have the frame not load the pane if the bricks were loaded and not planted.