On Windows or Linux?
It should mostly loop correctly on Windows, there can be a hiccup at times though.
Linux has way more issues with this.