Client crashing when I minimize game

When I click escape button and minimize the game and after that when I want to maximize it, I can’t do it, my client keeps crushing.
I switched few days ago from WIN 7 to WIN10.