Inventory item appears in pause menu but slot doesn't?

Is this integer variable correctly updated on creating the widget? If is 0, will show nothing. Else, is hidden by default.