Selection box bounds updates when selected component changes without using the selection box