Transform object with PBR material for rendering not working as expected

I like to transform a GH object to generate raytraced PNG files. The object uses a marble PRB material. When I rotate the GH object the texture map shifts as can be seen in this video.

How can I get a simple rotate to work without the texture map changing?

Add an OCS frame to your object, the WCS mapping should stick then.

image

It is fine for Rhino objects. The object transforms and rendering are done in GH. Can GH objects have an OCS frame?