Fixes #116. Click handler broken on Firefox.