wrap repaint in the setTimeout, temporary fix