I believe that this has a fix upstream, in version 47.4 (https://gitlab.gnome.org/GNOME/gnome-shell/-/releases/47.4). The relevant merge request linked in the release notes is https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3619.