issue 960

not using repaint seems to save issue \#960