fix for Mozilla - click (and others)

fix for Mozilla