Fix firefox not handling a.anchor elements properly.