* removed offsetof from UI_InitializeNodeBehaviour
* fixed clang warnings
* reduced scope