Fixed click event errors in FireFox.