Fixes regression in TemplateView.
Enables cancellation of rotateZ animations again. These can be reliably decomposed from the transform matrix and are also the most likely type of rotation animation to be used.