Don't remove staffDef information in transforming; this is used by blank staves