fix missing _set() call, fixes #17295
(cherry picked from commit 43af4ba56f7b589f2afffb9161e21cc2cad40ad8)