Make the photo view renderer slightly more robust.