It appears that cairo 1.17.8 is causing this issue: https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/issues/37