Images in Child Forms - Possible Bug

I have a form containing a child record, when I click on the child record, it opens up the child record details. However, if I click on the image in the child record detail it does not expand the image like it does if you click on an image in a detail view. If I click on the image and then click out of the form it will work. I think what’s happening is that it’s expanding the image behind the child form detail modal. Let me know if this makes sense. I’d use a video screenshot as an example but there’s too much personal information that I’d have to blur out and I don’t know how to do that on a video screenshot.

Please contact for help with this.