Fixing clicking on lines in Firefox