Possible bug reported at https://github.com/KDE/kwin/pull/2
AFAIK the patch got submitted to our repo.