Fix a crash in Power Trick
Transform copies current type
(Previously, it would copy base type.)