Components and Variants don't work

The clickable frame shifts during prototype use. The object consists of three variants. When the first variant is opened and closed, the clickable frame of that variant shifts.