Ok, managed to fix this by clearing /home/user/.backgrounds/ . Files in the directory were automatically restored. After that I managed to change the stuck wallpaper. Just in case someone else encounters this.