fixed stop animation when queue is false

Fixes issue #368.