He shifted his view because he felt comfortable taking an anti-EU stance when it never looked like he’d have to defend that stance as it occurred. Corbyn isn’t objectionable because of his euroscepticism, it’s completely fitting with his socialist outlook. He’s objectionable because he’s willing to overlook abusive elements of his immediate backers and because he’s willing to throw immigrants under the bus for votes.