BUG: raycasting behind elements

Just moved a project to 2019.1 due to a bug in the 2018 version, but 2019 has other bugs it seems.

1.toggle groups dont work correctly anymore (calling turn all toggles off doesnt work and it randomly turns on a different toggle when you turn off/on the group), seems like there is a bug already submitted for at least part of these issues.

2.When I have UI elements that are on top of other ui elements the raycast hits the element in the back, however when turning off and then ON again the UI element in the back, it suddenly respects the layering and works (but doesnt work again the second time).
It seems to refresh something when turning off/on, but the same project worked fine on 2018 and I cant figure it out, this must be a bug…

I wish the unity team would not introduce fancy new features but instead focused on removing/fixing new (project breaking) bugs each new version.
I haven’t been able to deploy my project for months now due to bugs in unity, honestly I might give up my paid subscription if this keeps on going this way.

Alright I got it to work using canvases with overriding sorting order and manually set these up correctly.
Weird thing is this used to work on 2018 without needing to do this.
Would be great if someone from unity could check it out cause I think it is a bug…

basically when I have a hierarchy:
canvas
-canvas child
-canvas child
-etc

What happens is the sorting of these sub canvases does not follow the hierarchy.
When you turn ON and then OFF these sub canvases the order does respect the hierarchy again.
Now I thus found out if you manually set the order of these canvases it does work…
But again this must be a bug because it seems much more intuitive to respect the hierarchy order as it did before.

So anyway at least I found a way around it.
Now it is waiting till the toggle group bug is fixed and I can hopefully finally release my app.

Hope somebody from unity responds to this, because this is a pretty serieus bug (if it is one, maybe it is intented?).

anyone?