fix firefox detect 100% mode issue