Similar to ClutterText node in the previous commit. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4106>