Fix issue when publishing components on Views