Fixing 'transform' and 'setTransform'