Better checking for mouse to correct issues in IE7-9.