try to repaint just before displaying via vnc