NVDA right clicking on a link or button in Firefox when enter or space is pressed


on my Windows 10 machine, I sometimes will have the problem that when I press enter or space a right-click will be performed. Does anyone know what this is and how to get rid of it? It is incredibly annoying and happens at the most inopportune times.
It only seems to happen on my Windows 10 computer.