Hiding the ugly dashed below the rectangle