Fixed timeline ending when in non-loop mode.