Fix not marking messages as read on viewing