`does not have a valid behaviors array` warning fix

@BrettASwift, this should fix the "nodes trying to access the prototype while it is still being constructed" issue being discussed at https://github.com/virtual-world-framework/vwf/pull/251.

@eric79, can you also review?