Catering for opacity/visibility changes when unticking a layer in the layer tree