The attributes need to be reallocated when the size changes. Differential Revision: https://developer.blender.org/D13390