Standalone game get stuck when minimize several times


We are experiencing problems with the standalone version of our game. The game is already in steam, and many users have experienced that when the game is minimized, sometimes it gets stuck and you can not interact with it. Also it can not be closed, and you have to close it using the task manager.

Any idea of ​​where the problem may be? Thx!