moved UA to Global namespace, and fixed scope issue in _drawChildren that was preventing nested draws from working correctly