UI not interactable after applying alpha fade

I have my ui elements fading in and out based on whether they are in the camera view. Once they fade out and back in the buttons arent interactable anymore. This is the script that calls the fade-

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HideUIElements : MonoBehaviour
{

    public RectTransform myRectTransform;
    public Camera myCamera;
   
    public List<Text> m_Text = new List<Text>();
public List<RawImage> m_Raw = new List<RawImage>();
     public List<Image> m_Image = new List<Image>();
    public bool isFullyVisible;
    void Update()
    {
      isFullyVisible = myRectTransform.IsVisibleFrom(myCamera);
     
    }

    void LateUpdate()
    {
        if(isFullyVisible)
      {
          for (int i = 0; i < m_Text.Count; i++)
          {
              m_Text[i].CrossFadeAlpha(1, 0.5f, true);
          }
          for (int t = 0; t < m_Image.Count; t++)
          {
              m_Image[t].CrossFadeAlpha(1, 0.5f, true);
          }
          for (int r = 0; r < m_Raw.Count; r++)
          {
              m_Raw[r].CrossFadeAlpha(1, 0.5f, true);
          }
               
         
      }else
      {
          for (int i = 0; i < m_Text.Count; i++)
          {
              m_Text[i].CrossFadeAlpha(0, 0.5f, true);
          }
          for (int t = 0; t < m_Image.Count; t++)
          {
              m_Image[t].CrossFadeAlpha(0, 0.5f, true);
          }
           for (int r = 0; r < m_Raw.Count; r++)
          {
              m_Raw[r].CrossFadeAlpha(0, 0.5f, true);
          }
      }
    }
}

And this is the Extension script that is pulls from.

using UnityEngine;
public static class RendererExtensions
{
    /// <summary>
    /// Counts the bounding box corners of the given RectTransform that are visible from the given Camera in screen space.
    /// </summary>
    /// <returns>The amount of bounding box corners that are visible from the Camera.</returns>
    /// <param name="rectTransform">Rect transform.</param>
    /// <param name="camera">Camera.</param>
    private static int CountCornersVisibleFrom(this RectTransform rectTransform, Camera camera)
    {
        Rect screenBounds = new Rect(0f, 0f, Screen.width, Screen.height); // Screen space bounds (assumes camera renders across the entire screen)
        Vector3[] objectCorners = new Vector3[4];
        rectTransform.GetWorldCorners(objectCorners);
        int visibleCorners = 0;
        Vector3 tempScreenSpaceCorner; // Cached
        for (var i = 0; i < objectCorners.Length; i++) // For each corner in rectTransform
        {
            tempScreenSpaceCorner = camera.WorldToScreenPoint(objectCorners[i]); // Transform world space position of corner to screen space
            if (screenBounds.Contains(tempScreenSpaceCorner)) // If the corner is inside the screen
            {
                visibleCorners++;
            }
        }
        return visibleCorners;
    }
    /// <summary>
    /// Determines if this RectTransform is fully visible from the specified camera.
    /// Works by checking if each bounding box corner of this RectTransform is inside the cameras screen space view frustrum.
    /// </summary>
    /// <returns><c>true</c> if is fully visible from the specified camera; otherwise, <c>false</c>.</returns>
    /// <param name="rectTransform">Rect transform.</param>
    /// <param name="camera">Camera.</param>
    public static bool IsFullyVisibleFrom(this RectTransform rectTransform, Camera camera)
    {
        return CountCornersVisibleFrom(rectTransform, camera) == 1; // True if all 4 corners are visible
    }
    /// <summary>
    /// Determines if this RectTransform is at least partially visible from the specified camera.
    /// Works by checking if any bounding box corner of this RectTransform is inside the cameras screen space view frustrum.
    /// </summary>
    /// <returns><c>true</c> if is at least partially visible from the specified camera; otherwise, <c>false</c>.</returns>
    /// <param name="rectTransform">Rect transform.</param>
    /// <param name="camera">Camera.</param>
    public static bool IsVisibleFrom(this RectTransform rectTransform, Camera camera)
    {
        return CountCornersVisibleFrom(rectTransform, camera) > 0; // True if any corners are visible
    }
}

I cant figure out why its causing the UI elements to not be interactable anymore.

I am having the same issue. I use a raycast to interact with the UI button panel, yet after I apply the fade it is no more interactable…