Zend certified PHP/Magento developer

Refresh problems with X11 software with WSL2

I’ve been running ubuntu 22.04 LTS on wsl2 on Windows 11 pro for a couple of months. I was able to successfully run gnuplot, gimp and xmgrace but, all of a sudden, I got refresh problems when I click any menu of xmgrace, gimp or run gnuplot and move the focus to an other window. Everything in the gnuplot gets blurred. The same happens with the menus of gimp or xmgrace, as is exemplified below.

Blurred menu

Any ideas? Thanks!