Fixed display update on REPAINT event