fix an initialization issue in UILoadingBar.cpp