Buttons are not pressed when two widgets overlap

Hello, I have 2 widgets. A widget is called only at certain times and comes with a full-screen canvas on top of the first widget. But the buttons on the 1st widget become unpressible when the 2nd widget is hovered over. But I don’t want to add the images from the second widget to the first widget because I only call the second widget in some places.

In short, I want the buttons in the 1st widget to still work when the 2nd widget is on the screen.
The second widget will only appear visually
How can I do it?

Thank you