Auto layout moving my elements

Have you ever tried to create an auto layout but Figma pushes the top element aside or below the bottom element? For example: I’m designing a badge, with a number inside a circle. I’d like it to be an auto layout because that number could increase and resize the badge. This doesn’t happen to me often, but when it does, I try drawing the shape again and creating a new auto layout. But sometimes just doesn’t work. Can you guys help me with this, please? Thx!