fix bug that target will not be displayed when layout_weight is set.