adjust transformations for meshes