Added proper frustum culling