Fix timeline example (fixes #386)