If cppclass is redefined, make sure the this pointer enters the correct scope.
Merge pull request #316 from lambdafu/lambdafu/cpp_class_redef

If cppclass is redefined, make sure the this pointer enters the correct scope