     else
       _rect = _ctrl.rect
       _area = HRect.new( x, y, _rect.width, _rect.height )
-      if @_listeners._rectHoverIntersectMode.indexOf( _viewId ) == -1
+      if not ~@_listeners._rectHoverIntersectMode.indexOf( _viewId )
         _matchMethod = 'intersects'
       else
         _matchMethod = 'contains'

      _ctrl.active = false
      _idx = _active.indexOf( _viewId )
      _active.splice( _idx, 1 )
      @blur(_ctrl) if _focused.indexOf(_viewId) != -1
      _ctrl.lostActiveStatus(_newActive)
    _prevActive
  #

    _doubleClickable = @_listeners.byEvent.doubleClick
    _stop = false
    for _viewId in _focused
      if ~_doubleClickable.indexOf(_viewId)
        _doubleClicks.push( _viewId )
    for _viewId in _doubleClickable
      _ctrl = @_views[_viewId]
