Finally managed to fix the background, after much trial and error.