Merge "Exclude opening/move-to-front task from exiting immersive" into main