Fix layout update.