Replace 2 uses of updateLogicalHeight with computeLogicalHeight