Button remains activated, but not interactable

A strange bug appeared in my game, when the player minimizes the game and then returns, he is unable to interact with the game buttons (although they remain enableds), the only way to get back to normal is to minimize it again and return to the game. Has anyone been through this or have any idea why it happens?

Can you please be more specific?
Maybe you have an element that blocks the raycast hitting the buttons, but you said if the player minimizes the game a second time and return, they work
can you show us a screenshot of the buttons layout?