vertex Outline overlapping

Answer can be found here: How to make Outline Shader draw by Z-Order?