updated the fix for issue 62, but I'm still not satisfied with the centering of triangles