fix key events
fix initial painter
disable contour points for selection painter