Fix some firefox issues.