Mouse leaves game window

Yes i looked at this post https://answers.unrealengine.com/questions/407253/mouse-cursor-leaving-game-window.html…me-window.html 75, it didnt help.
The mouse is leaving the game windows no matter what in engine, standalone,packaging the game etc…its also leaving the game in full screen
I’ve tried (set input mode game and ui) also (set input mode game mode only) its not working
I’m using dual monitor and I’m using version 4.27.1
Please help it’s been a few days like this i’ve tried everything but stilll it’s not working