Mutations are random, but the factors that result in a mutation leading to improved reproductive success are not. An organisms environment helps select for beneficial mutations.
I get that. I just don't see why an environment where half the people are vaccinated would lead to worse outcomes, even if mutations take place that can bypass the vaccine's protections.