Fixing event handler to support firefox, setting drag surface to the entire window.