Respect current layout when destroying boxes.
Fix ideal width update.