kwin: bug fix for crash when using the raster backend
It seems to be possible to generate a QPixmap that is not null, but doesnt have a paintEngine.