Managed to make the custom potion effect icon work properly.