fix in recursive culling code