Added ceilf to text height calculations to prevent text from clipping