Fix bug with timeline line setting