Fixed issue in some versions of LESs where function variables are not dynamically scoped.