Fixes https://gitlab.gnome.org/GNOME/gnome-games/-/issues/48
WIP until https://gitlab.gnome.org/GNOME/gnome-games/-/merge_requests/430 is merged.