Fixed so it's possible to hide items from elements path by using preventDefault/stopPropagation.