Texture moves on moveable object.

The texture is behaving as if it is locked to world, so it looks like it moves. But is not locked static to the object. How do I fix this?