Added a method to clear the TextProperty lookup table, serving as a workaround until #18416 (closed) is fixed.