Seems a bug in the vector assignment

The function space DoF indices and mesh vertex indices are not guaranteed to be the same, even in older versions of DOLFIN. It seems you just got lucky… Consider accessing the information you need from V.dofmap(). Cf. here.