Bugfix: stop playback at the end