Fix track advancement bug. Thanks, @ging.