fix border display problem on firefox