Fixing zoom-related bugs in the timeline view