Update selection restore logic for IE11. bugid:110582 bugid:110584