For some stupid reason, iPhoto 2 does this. My only workaround is to go into the slideshow controls (you can click on the icon for slideshow in the bottom left) and select a song and then turn the music off. As long as it knows there's a song that it could play, it seems to be happy.