Photos: fix crash when displaying a Post