fix #4 cv.closeOnEsc() doesn't work