Added flag for turning frustum culling on and off