Fixed assignment from QMatrix to Transform for compact storage.