Merge changes I1eafd69c,I4c5e401c into main

* changes:
  Skip performance hint for the end of scene transition
  Fix missing transition with visibility change when changing opaque