I am using a UIPanel with a scroll view script. Panel is anchored on top and bottom to the UIRoot. That way when window is resized, panel clipping is updated and its contents are clipped properly:

If I dont resize window or reize it making it bigger, everything works fine, however if I size it down panel clipping values set to NaN and everything breaks down requiring to restart game. This happens with both Alpha and Soft Clip settings.
