Fixed that editor.xm window is not properly repainted.