Fixed crash on page orientation changing during slide show.