Hi, thanks for your reply.
I tried to recreate the problem in a less complex project. It's about updating the Z order. I succeeded in recreating it but I run into a second phenomenon.
First effect remains: the Z order function will only work when called with something like a keyboard action.
Second effect: the updated Z order will appear on screen only if you resize the window (using NW.js preview). Without pressing the key, the window resize won’t work, so the first effect is not affected by this.
The indicator for an updated Z order is the lowest face, it will appear on top of all the others if working correctly.