That was a mistake made when backporting a feature from GIMP3, see https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/755
Fixes https://gitlab.gnome.org/GNOME/gimp/-/issues/8506