Fixes invisible items not persisting through publish because of remote widgets.