fixed x11 canvas.dogetwinrect. now things are looking normal again. caret is painting 100% correctly