Confirm the symptom
Move the pointer over the edge of a menu button. If it only highlights when the pointer is beside it, the clickable area is offset. Check the pointer on the desktop and Alt+Tab back into the game. If the offset clears, see whether it returns the next time you switch windows.
Check display mode and resolution
In Windows, open System → Display. Select the screen running CS2 and check its recommended resolution. Try fullscreen windowed mode in CS2 and check the same buttons after applying it. If the issue started after choosing a custom resolution, temporarily restore the last mode that worked.
Test with one display
If the offset appears after moving the game between monitors, launch it with one display active. If that helps, reconnect the second display and compare resolution and scaling on both screens. Change one setting at a time and check the same button after each change.