Fixed an issue with transforms when creating model elements.