update focus rect on re-parent