World space coordinates for a brownian motion effect in geometry nodes

Hi!
I made a brownian motion nodegroup with geometry nodes that I use for all sort of stuff, but mainly biochemistry animations. Sometimes I want to use it with world space coordinates, so I can use the distorsion scene wide. I managed to make it work with position and scale, but not with rotation. I’m offsetting the vector input for the noise texture and I’m not sure why it doesn’t work as expected with vector rotate.

I want the pile on the right to be seamless as the left one. The second block on the right pile is rotated 180 over the Z axis. Pls help.

Also, I managed to get this working by creating an empty at the world origin. Is there a way to get world space coordinates without referencing a separate object?

Here’s the file: Brownian Motion.blend (182.1 KB)

Thanks!