Fix titler background not correctly updated in some cases.

Fixes #1127
1 job for master in 8 minutes and 20 seconds (queued for 116 minutes and 23 seconds)
Status Name Job ID Coverage
  Build
passed linux kf5-qt5 qt5.15 #116009

00:08:20

0.0%