Fix photo preview