New properties toggle do not display correctly in prototype

I’ve created a component with an icon next to it, which I would like to toggle to hidden on an instance. It still appears in the prototype no matter what I do.

Workspace:

Prototype:

There is nothing I can do about it and keeps happening with various components.