Fix for SVN rev [6537]. Events weren't being unbound correctly in Internet Explorer...