issue #5797: fix the bug of assigning number to LabelTTF