Mark notifications as read if they fail rendering

The only issue is that the badge is not up to date till
you refresh the page, I think that's fine for now

Change-Id: I585b4cc185bf859ddb06829df75309ff3d56d8b8
(cherry picked from commit 97417af20cc38d4aa1bb6685f064e2bb2f5adf17)