Don’t leak information about hidden actors.

Fixes #6125.