The problem was that the array of `IndexMask`s was set to the number of objects selected and not the number of curves in all selected objects. This fixes the transform code from relying on undefined behavior. Pull Request: https://projects.blender.org/blender/blender/pulls/114088