Fix adjustHeight()