Maybe you could try replacing this with GetTransientPackage() on your NewObject line?
this
GetTransientPackage()