Fix layer DNE with duplicate layers Upstream-commit: 9fe48f081dafbff467643ce1119c7963f57d9ee8 Component: engine