fix to border-width calc in ff