C++ OpenCV standard, getting corners from rect not working yet