Fix passing null into LuaFunction