correct height calculation for initial elements #94