fix scope for ClosureExpressions in static context to have dynamic context and teach VariableScopeVisitor that dynamic contexts, might be part of static contexts