Transforming random elements and shifting random fields