Chosen Solution

I try to fix my hatchimal, and some parts fell out. Now my hatchimal seems to work fine, but I wonder that this is.

This looks like the part that connect it to the egg, Since that it knows it’s out of the egg, it works