Turns out drawing the whole light wallpaper and then half of the dark wallpaper on top of it is leading to a case of https://gitlab.gnome.org/GNOME/gtk/-/issues/3840 Draw half of each instead, so they don't overlap.