An issue has been created upstream to correct this: https://gitlab.kitware.com/vtk/vtk/-/issues/19515