title: pageY = -1 during mouseleave in IE
body: <p>I have such code:</p>
  
  <pre class="lang-js prettyprint-override"><code>$(document).mouseleave(function (e) {               
         if (e.pageY - $(window).scrollTop() &lt;= 1) {                   
              alert('Please, leave your comment!');                   
         }
  });
  </code></pre>
  
  <p>It works good in all browsers excepts IE (all versions). For example, when developer tab in ie is open and you move mouse to the bottom of your screen (through this developer tab), mouseleave event fire but pageY = -1 instead of 700px in FF or Chrome or Opera. H</p>
  
  <p>How can i fix it?</p>