[PixelOverlay] Retry lock in TextMessage code
(cherry picked from commit 48798441a0442d2296fd9ebddc3f0c381c40d01f)