Fixed the change of images when the play button is clicked