added repaint button to test why sometimes the canvas3D is not painted