Fix bug in Firefox
Fix typo in tolerance selector