Timeline bug fix

Fixed a bug that prevented the timeline from returning to the canvas.