Set z-index for LayerSwitch