Added disconnect for layerWillBeRemoved for #807