Sure. You might check to see if it’s already in there somewhere.
Basically, I believe the issue is that Node returns null bounds when it has no children… which is not strictly accurate.
I believe in if not null after the loop would be sufficient.
Edit 2: to be more clear, this:
this.worldBound = resultBound;
this.worldBound = resultBound != null ? resultBound : new BoundingBox(getWorldTranslation(), 0, 0, 0):
…or something like that.