Layer visibility is int, not bool.