Misplaced hidden element on preview

Hi! I’m new at Axure and I’m having a very frustrating problem :confused:

The flow of my user is to delete a primary payment method > the backup payment method became the primary and the option of adding a new payment method shows.

This is how my canvas is set with hidden elements

And when I go to the preview mode, after deleting the primary card and hiding the element, the next toggle is in the wrong position, like this:

But in the canvas the place is correct.

I couldn’t figure out why, I also tried turning the groups into dynamic panels like here BUG? with positioning widget with move-interaction

Thanks in advance

I manage to solve hehe!

I group the header rectangle with the toggle (that I turned into a dynamic panel) and worked :wink: