Can't get black bars in cs2

So I reinstalled my pc, everything working fine (for reference I was playing 1920x1080 on a 3440x1440 with black bars)

But for some reason my game keeps getting stretched. I have enabled GPU scaling with preserve aspect ratio in AMD control panel (RX 6600), but it doesn't work, the game gets stretched either way.

any idea how to fix this?