Can't seem to render custom GUI under items in 1.21.6

I'm updating my datapack to 1.21.6 from 1.21, I've managed to get the gui texture to work except items in inventory are rendered under the custom gui texture. It didn't happen in 1.21, everything rendered nicely on top. I've tried changing the translation to -80 and 80, doesn't seem to change anything, tried using north and south faces without any display rotation in gui and appropriate cuboid, didn't work. I'm using barrier block as the item.

1.21 model json:

{
    "textures": {
        "texture": "skyblock_ui:demo/custom_menu"
    },
    "gui_light":"front",
    "elements": [
        {
            "from": [ 0, 0, -12 ],
            "to": [ 0, 18.5, 32 ],
            "faces": {
                "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
                "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }
            }
        }
    ],
    "display": {
        "gui": {
            "rotation":  [ 0, -90, 0 ],
            "translation":  [ -64, 20, 0 ],
            "scale":  [ 0.0001, 3.985, 3.985 ]
        },
        "ground" :{
            "scale": [0,0,0]
        }
    }
}```

1.21.6 model json:
```json
{
    "textures": {
        "texture": "skyblock_ui:items/custom_menu"
    },
    "gui_light":"front",
    "elements": [
        {
            "from": [ 0, 0, -14.75 ],
            "to": [ 0, 21.25, 32 ],
            "faces": {
                "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
                "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }
            }
        }
    ],
    "display": {
        "gui": {
            "rotation":  [ 0, -90, 0 ],
            "translation":  [ -69, 20, 0 ],
            "scale":  [ 0.0001, 3.985, 3.985 ]
        },
        "ground" :{
            "scale": [0,0,0]
        }
    }
}```

the translation and cuboid size is different because the textures are different sizes. Ink sacs are in 1.21, sandstone is in 1.21.6
Continue to help post