Fix for Firefox default event problem.