Minor fix of PhotoController.