Fixing initialization of HemeUI.