Why would a control on a GroupBox not be a member of a Groupbox

Why would a control on a GroupBox not be a member of a Groupbox?

https://forum.xojo.com/t/how-to-refer-to-imported-image-file/56770

I have been having a problem with an ImageWell not showing up and after going thru the debug fifteen times, I looked again at the properties, I noticed it wasn’t Active.

I then looked at the TabOrder and it wasn’t part of the group.
I selected the ImageWell and noticed the groupbox didn’t have a red line around it and the others did. I moved it just a tad and it turned red.

Now it shows up.

Why?

If it’s outside the groupbox even a tiny bit, it won’t be part of the group. Maybe that was the issue?

Or if you put the ImageWell down first, then moved the groupbox over it you would then have to “wiggle” the ImageWell to get it to show up inside the groupbox.

It’s within the box by ten units. I’m not sure which control was first, but I thought I added it after several others.
Grumble.