I have the following navigation bar for a website I am making, but in firefox it cuts off one of the svg sides. How do I make the svg on the left render correctly in firefox?

Here is how it is supposed to look:

Here is how firefox displays it:

Here is the code for the navbar (aria-current is for the gold arrow):
https://pastebin.com/2SQR6mVs