RTCView overflows the parent view while laying out on other RTCView

I’ve got a weird behavior in RTCView. I have multiple RTCView on top of each other. The problem is when the RTCView is laid out on top of other RTCView, It overflows the parent container. I tried several ways which were supposed to work (overflow hidden, border-radius, additional wrapping view, etc) but none of them helped. Here is the screenshot I took for reference.
Screenshot 2022-01-04 at 11.02.31 PM

Refer to the marked areas, When the RTCView overlaps, It overflows. Any suggestion would be really helpful. I’m following up this Github Issue

This is not a Jitsi-specific issue, I think. You might be posting in the wrong forum.