You should ask yourself why the element is the child of the transformed element and if you shouldn't do the obvious and move the element higher up in the hierarchy since you essentially want to render it with a fixed position.
I know this isn't always possible but keep it in mind.
I honestly appreciate that this behavior exists as it powers many of my canvas-like projects. I usually use transform just to force a new viewport to ensure all content within doesn't escape the scope in terms of position and scale.