I tried to add a different screen to the second screen, still got the same behavior. However even if that is how UiPath behaves, it would lead to a bigger issue:
Let’s say I want to keep clicking a button until it disappears. I would add a click activity to a while loop and check the existence of the button at the end of the loop. The ‘CV Element Exists’ activity would be only used once. In that case, how will UiPath ever return a different value if it always uses the last value for optimization?