Fix #2284: Add missing inits for current scope/module in lambda bodies