Depends. Also in my experience I see a huge dropoff in coding interest when students move from the fun environments I mentioned, to the professional tools programmers use. Unfortunately there's not much of a middle ground, and there's only a small slice of students who "get" the stuff (like lexical scoping) we throw at them at such an early age. I think we are doing them a disservice by trying to make professional coders out of young learners.
Many of us who learned on systems like basic became professional programmers eventually, so I don't really see why it's so important for early tools to mimic what software developers use. Excel is an example of a language with globally-scoped variables, and it's used by more people than all other languages combined to successfully run everything from personal finances to business operations. SQL is another example of a language that is used by non-programmers that doesn't have the typical lexical scoping rules. So it's certainly possible to build complex systems without lexical scoping, and it seems like non programmers “get” this version of programming moreso than even Python, which is lauded by programmers for how supposedly learnable it is.