Fix innerWrap height calculation