Fixed small issues with transforms.