Remove some instance of setTransform.