BS-8827, UiComponent handle event properly now. No need to use CustomUiComponent anymore.