I think they weren't in plain view... since you aren't supposed to be peeking into confession boxes which are occupied anyway.
And so I see no reason children would be at risk... except from the priests and the institution that is the church.