ENH: changed order of changes to nodes. First change orientation matrix and then image data because image data changes are observed.