Fix bug where hidden-by-default layers in the viewer where displayed anyway at startup