Certain templated tile layers need an additional update for their disabled property (internally the isVisible property) to update.
An example of a templated tile layer that needs additional updates: Geogratis
An example of a templated tile layer that doesn't need additional updates, as expected: mapMLTemplatedTileLayer.html in test/e2e/layer/