instead of using invisible you could try the none flag on the surface panel.