Fix a bug when determining if a transform matrix is set.