Apply culling to debug grid drawing