In the second scene, which node(s) cause the lines to disappear when you hide them? Does the Marks node hide the blue lines or the Hole1 through Hole4 nodes?
Looking at the pictures, it just occurred to me that the blue boxes may be the particles visibility AABB boxes. Do you have a lot of Particles2D or CPUParticles2D nodes in your scene?