When using the DummySpacial, make sure we respect the visibility of the
nodes.  Fixes #2811

Change-Id: I691ca750cde0b04e1bffbf6b0864595bfcd86607