Backport of "basetextoverlay: Fix overlay never rendering again if width reaches 1px" into 1.22
Backport of !5614 (merged) "basetextoverlay: Fix overlay never rendering again if width reaches 1px".
Commits:
- 49865826 basetextoverlay: Fix overlay never rendering again if width reaches 1px