Update MouseDetector.cpp