So I changed the screen mode from exclusive fullscreen to full windowed and it fixed the issue somehow