Bug introduced in XRENDERING-451 at https://github.com/xwiki/xwiki-rendering/commit/3f36fb57856ea1de6975320d408764d04b215723#diff-76f86442cef1a4697071360a4167e6ed3921d7abc5a6484afb5e35a06b738918R204