fix photo rendering in Atom