Handle shrinking from maxHeight