@pozdnyakov you're missing `SetTransform(transform)` part. 

If I remember correctly, the code was that shape. @kenchris suggesting as current way.