Hello Fred,
how long is the timeout for text match action? Is there a chance that text does not appear in defined timeframe? Let's say that action timeout is set to default 30 seconds. If text appears after 31 seconds, action fails but before final screenshot is taken, text is there so it's included in the screenshot. Can you try to increase action timeout to see if it helps?