Merge "Fix snapshot starting window stuck if the task never gain focus" into sc-v2-dev