Use border-shadow style instead of border to highlight components in
design mode.  This avoids altering the dimensions.