fix: write hide from view not only for camera loop