NXP-13828: fix text present detection