ui.progressbar now uses ui.component.
fixed a bug in ui.component when checking the mouse focus.