When my camera moves into or under the terrain it becomes transparent. The issue is my UI raycast code still hits the transparent underside messing up my UI.
Tried
Ray mouseTrackingRay = Camera.main.ScreenPointToRay(mouseTrackingVector);
Physics.Raycast(mouseTrackingRay, out mouseTrackingHit);
Debug.Log(mouseTrackingHit.normal); //Same result for both sides :(