The alignment for the second element of a scalar pair is not the same as for the first element. Make sure it is computed correctly based on the element size.