Just noticed this recently - bit of pain. The only thing I could think of was the obvious .. hold the entityscale somewhere and divide the tformedx etc.. by this scale.
It's probably quicker than the trig involved doing it another way.
It's probably quicker than the trig involved doing it another way.