Fix regression found in screenshot test refs #6831