This method is called when the mouse cursor leaves the active window bounds.
This is a protected virtual method. It can only be used by declaring it in a custom widget.