.at(layer) should support nesting