Fix auto-advance on finished media