MiterLimit support and JoinLimit fix