Wemod during game not working

Hey

i have encounted some wierd bug. When i use the wemod inside a game it doenst work at all. It only works when i get down to desktop to click on the buttons. I usually use the short ingame app that opens a little window in the game.

What im talking about is the in-game overlay thats not working. All it says is that something went wrong and need to restart and the a button comes up that says restart and i click on it and it restart the overlay but still not working because it will come up again and again.