MInecraft 1.13 Redstone display issue in Resource Pack

So far i have got all of the right pieces of redstone displaying, except for when the redstone goes in more than one directions. I've uploaded a picture showing the problem. image of problemThe redstone_dust_dot.png is showing on the lines that intersect, but as you can see, the lines show up through of the dot. This does not happen with the default textures. How do I fix this?


In redstone_dust_dot.json change to match:

{
    "ambientocclusion": false,
    "textures": {
        "particle": "block/redstone_dust_dot",
        "line": "block/redstone_dust_dot",
        "overlay": "block/redstone_dust_overlay"
    },
    "elements": [
        {   "from": [ 0, 0.26, 0 ],
            "to": [ 16, 0.26, 16 ],
            "shade": false,
            "faces": {
                "up": { "uv": [ 0, 0, 16, 16], "texture": "#line", "tintindex": 0 }
            }
        },
        {   "from": [ 0, 0.25, 0 ],
            "to": [ 16, 0.25, 16 ],
            "shade": true,
            "faces": {
                "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay" }
            }
        }
    ]
}

If on a different version just change the

"from": [ 0, 0.25, 0 ],
"to": [ 16, 0.25, 16 ],

to

"from": [ 0, 0.26, 0 ],
"to": [ 16, 0.26, 16 ],

Hope this helps!!

Felix