Vector Rotation and Scaling

Hey,
I’m trying to rotate a scaled procedural texture. Is it possible to rotate a texture after scaling it?




When you rotate the texture, you just get this sort of shearing effect instead of actual rotation because it scales after it rotates. Even when I use two vector mapping nodes, it still rotates the texture and then scales it. I know that I’m rotating on the right axis by the way (tested it).
Input would be appreciated.