don't crash when css contains rotation transform