You're assuming the mass of the sphere's shell is negligible or small. This is large scale. Remember, the outer shell of Kosigi is 2 miles thick, and it's rock backed by heavy metal and armor plating. The inside surface of the sphere has sufficient mass to generate gravity. Weak gravity, but gravity nonetheless.
The proof is simple math: F = GMm/R². Force equals [the gravitational constant * mass of object 1 * mass of object 2], all divided by the distance between their centers squared. The outer shell is two miles thick, so IT is the mass of mass 1, and the object being attracted is mass 2. The distance is measured from the object to 1 mile into the outer shell. Now this is also a measure of calculus, for the mass on the far side also attracts the object, as does the mass at all angles to the object. If you add all of these myriad pulls together, what you find is that the lateral angular gravity equations cancel each other out to stop lateral pull, but their pulls along the same axis are cumulative (a phenomenon akin to centripetal force, the X component zeros out but the Y component remains, and all Y components are added together via a calculus limit to determine overall Y velocity). When it comes to the mass of the shell on the far side of an object from the center, that force is lesser than the force on the near side because it has a lesser distance, a smaller R. It does mitigate the pull of gravity on the near side, but cannot overcome it.
Therefore, the gravity in a sphere with an outside of 2 miles thick exerts gravity towards its outside when dealing with gravity exerted against objects within.
The "tennis ball" in the middle acts as a counterweight to create a balanced pull at the equal distance between the center mass and the shell. It needs to be there because gravity is as much a function of distance as it is mass. If the center wasn't there, the sphere would have a gravitational center near the center (it's not a perfect sphere), but that center would be the center that denoted where gravity would stop pulling towards the SIDES, not the INSIDE. The vast distance within Kosigi mathematically nullfies gravity at the center, which was the way it was designed, but the gravitational equation states at its face that the mass of the outer shell would pull objects towards the edges, not towards the center.
The center mass is there to push that mathematical zero point out to a spherical point halfway between the two, to create a zone of "zero gravity" in a volume within the space between the shell and the core.
Remember, it's not volume that creates gravity, it's mass. And there's just too much mass there for the outer shell not to generate a gravity well that attracts objects towards it.
Now mind, it's been years since I took physics, but that's how I remember it working to the best of my knowledge, and I'm not gonna change it now anyway.

Just another guy from the shallow end of the gene pool.