Fixed FireFox issues.