* fix bug that there is no candidatePanelToggleButton when resizeUI