[NUI] fix thumb resource string null check