Fix UI corruption on Windows/intel drivers. Related to #277

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

00:19:02

20.0%