Tested and fixed transformation.inversetransform method. ALthough, transformation.inverse is not probably working correctly.