fix for jumping to the end of the timeline