Making compatible with older versions of Slicer (where only the TransformModified event is invoked when the transform is changed).