While you are of course entirely right, people do tend to vote based on the issues the head of the party is championing at the time so I’d argue that it’s slightly more nuanced than just voting for the party given how the head of each party steers the policy in different directions