main: set layer visibility in init_layout()