Use screenshots in doctest build too.

If we dont and you run the doctest before html generation then you don't
see a screenshot because sphinx won't have reprocessed the file.
Refs #9593