game and ui_tree as global