Use same scope rules as sass-lang implementation (#14083)

Change-Id: Iafadb589056e6a7e552eb9fe267371d7fe35ac37