Fix ordering of entity matrix transforms.