Anita, probably I overread the part with the contained raster before

I assume that not the text shifts, it may be the raster instead. Try the following: Import a raster. Select it and open the element info dialog. Increase the resolution value (e.g. 200 to 400) and apply it. Add some text on top of that raster. Export it and check the result. -> I assume that you scaled the raster with the scale tool what may have lead to odd resolution values. The process above could be used instead and may solve your topic. Worth a try... Much success, Christian