reset rotation to null when rebuilding affine from matrix
create transforms instead of simple matrices from CSS