Fixed bug with auto stopping after track end