Avoid exception on /play page: photoSelector not found