Simplify extent calculation a bit for triangles.