This replaces access to the first scene layer (which was wrong) with a linear lookup of scene layer by it's active index. This seems to be a better temporary solution to have things working for until we've got proper workspace, depsgraph and it's per-layer storage in place.