turn redraw off/on as recommended by @luolong