fixed scaling issue with meshes