code: public static void ensureMouseOut(Element element) {
  
          NativeEvent nativeEvent = Document.get().createMouseOutEvent(
              0,
              0,
              0,
              0,
              0,
              false,
              false,
              false,
              false,
              0,
              null);
          element.dispatchEvent(nativeEvent);
      }
docs: Triggers a mouse-out event for the given element.<p>
  
  Useful in case something is capturing all events.<p>
  
  @param element the element to use