I changed my PC a couple of months ago and I'm honestly not sure whether the issue started happening straight away or later. I don't usually notice as I run most windows full screen.
From Settings -> About:
Device name Keith_Asus_2024
Processor Intel(R) Core(TM) Ultra 9 185H 2.50 GHz
Installed RAM 32.0 GB (31.4 GB usable)
Device ID CA0F5CF6-4143-441F-BE77-DA622D444C34
Product ID 00342-21235-61137-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch Pen and touch support with 10 touch points
Edition Windows 11 Home
Version 23H2
Installed on 11/10/2024
OS build 22631.4602
Experience Windows Feature Experience Pack 1000.22700.1055.0