Fixed race condition with loading a track and toggling play/pause