move the transform class files to the Shared library, still problem with negative scale composition