Layer organization

The issue is comes from layer organization, as you can see the ‘overlay’ is at the bottom in Button-1, but all the elements are covered underneath.

The opposite is shown in Button-2

Change canvas stacking order in Advanced auto layout settings.

Thanks tank!