Fixes firefox detection