Removing the previously installed mouse event listener (part 2).

Unfortunately, the patch from the pull request #149 was not enough and seemed to work on my personal (though it didn't) due to another local modification.