fix: Workaround for the TextBoxComponent entering an endless loop (#3939)