EventRecorder: Check if widgetUnderCursor is None.