Added miterLimit support