Fix photo preview display and date on iOS