I sometimes get this weird gap between the top bar and the top of an app in gnome that is filed with visual buffering anomalies. It usually happens when an application is maximize but not with any consistency as far as i can tell. It also offsets the mouse klicks.
I use the newest Proprietary NVIDIA driver on a 1070 on wayland on gnome and the 25.05 Channel.