Thanks! I've been testing the above version for a while and all seems to be fine, the issue didn't occur anymore, despite my efforts. That being said, before trying the version you linked above I also tried to replicate the problem with the version I was using, but without any success (similar code, same tracks, same steps), so one, the other or both apparently fixed the bug. By the way, the bug was already kind of difficult to reproduce before - in some cases, it occured after jumping to something like 98% and letting the track end, in other cases it occured only if jumping earlier at about 85% and letting the track end, for the same track (which is why I could't indicate a precise percent in the OP).
P.S. I posted this here instead of in the link you mentioned so that both you and poiru can see this easily.
Statistics: Posted by Yincognito — Yesterday, 7:57 pm — Replies 4 — Views 717