Enable stopAutoplay when in loop-mode

Fixes #228