MTComponent baseComponent = tags[i];
if (baseComponent instanceof AbstractShape) {
AbstractShape shape = (AbstractShape) baseComponent;
// System.out.println("Scaling: " + scX + " " + scY);
// shape.scale(scX, scY, 1, shape.getCenterPointGlobal(), TransformSpace.GLOBAL);
shape.scale(scX, scX, 1, shape.getCenterPointRelativeToParent(), TransformSpace.RELATIVE_TO_PARENT);
}
}
}