Here is an illustration of the problem (tested in Firefox and Chrome):
Change the display property of the svg to be block.
display
block