Text properties and extents displayed incorrectly