moved the check to see if pixel content should be touched, into it's own variable

There is a FireFox bug, for which there was a check to see if
a bug fix should be applied or not.

* This has been moved to use a flag, instead of always detecting the
browser
each time it's used.
* This now only applies to versions of FireFox before version 23.