Make undeclared variables local (this matches Scratch)