Sorry about that, solved it...
panel1.AutoScrollPosition = new Point(0, 0);
If the problem only happens in non-zero positions, make sure that it is in a zero position before changing the SizeMode.
I don't know why it works, but it does, and I can live with that.