Initialization of values for UIComponent
Revised handling of small screen size detection