Fix for not activated layers given by url.