fix bug that was making the player to jump tracks after its ending.