Update UIBase.cpp