Container height calculation is now accurate