Fix feedback loop when sizing line boxes.