Hi Carole,
Welcome to the Forum.
The issue you have raised may be occurring because of a known issue when you have a Desktop theme and Accent color selected.
If that is the case you can disable the Accent color by deselecting a color, and/or increase the time between theme refreshing.
These can be adjusted via Start > Settings cog > Personalization > Background and Color and Theme
You may also be using a third party slideshow application and if that is the case you would need to check its settings and adjust as necessary to prevent folder refreshed which can upset your cursor position.
Regards,
Regedit32