waitKey changed