Final fix for GetTextToPixelsHeight