JSFiddle - React, Tailwind, and code Playground

HTML

<svg>
    <rect class="testNoRotate" x="150" y="50" height="110" width="110" transform="rotate(37)" />
    <rect class="testWithZeroRotate" x="350" y="50" height="110" width="110" transform="rotate(37)" />
    <rect class="testWithRotate" x="550" y="50" height="110" width="110" transform="rotate(37)" />
</svg>

CSS

rect {stroke: #000000; fill: #ff00ff;}
.testNoRotate { -webkit-transform: translateZ(0); }
.testWithZeroRotate { -webkit-transform: translateZ(0) rotate(0); }
.testWithRotate { -webkit-transform: translateZ(0) rotate(1); }