Prevent the base layer from being toggled off when connectivity changes