Fix broken timeline header position in some cases

1 job for master in 16 minutes and 16 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #34916
linux kf5-qt5 qt5.12

00:16:16

20.0%