Repository: excalidraw
Issue: Freedraw exported svg can contain NaN
Labels: bug,freedraw

https://excalidraw.com/#json=5110389188591616,PfDJnUAPfTuaMyALYyEY6Q

```xml
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.078125 86.953125" width="64.15625" height="173.90625">
  <!-- svg-source:excalidraw -->
  
  <defs>
    <style>
      @font-face {
        font-family: "Virgil";
        src: url("https://excalidraw.com/Virgil.woff2");
      }
      @font-face {
        font-family: "Cascadia";
        src: url("https://excalidraw.com/Cascadia.woff2");
      }
    </style>
  </defs>
  <rect x="0" y="0" width="32.078125" height="86.953125" fill="#ffffff"></rect><g transform="translate(10 10.21875) rotate(0 6.0390625 33.2578125)" stroke="none" fill="#000000"><path d="M 0 -0.1640625 Q 0 -0.1640625 0 -0.1640625 0 -0.1640625 0 -0.1640625 0 -0.1640625 0 -0.1640625 0 -0.1640625 0 -0.1640625 0 -0.1640625 0.3319826867575957 0.1307373046875 0.6639653735151914 0.425537109375 1.5932872431797016 2.097747802734375 2.522609112844212 3.76995849609375 2.2448740448700626 7.809104919433594 1.9671389768959133 11.848251342773438 1.7335694884479567 18.4354305267334 1.5 25.02260971069336 1.5 31.11740255355835 1.5 37.21219539642334 1.5 42.44121587276459 1.5 47.670236349105835 1.5 51.40437135100365 1.5 55.13850635290146 1.5 57.97047760337591 1.5 60.802448853850365 1.8037615843519696 61.743087141901725 2.1075231687039393 62.68372542995309 3.432153601547714 60.4924213048964 4.7567840343914884 58.301117179839714 6.286482492887395 56.25041451761315 7.816180951383302 54.199711855386596 8.993850630723902 52.741068091475924 10.1715203100645 51.282424327565245 10.994936688946334 50.83536770206733 11.818353067828168 50.388311076569416 12.664021479306712 50.791695629124185 13.509689890785253 51.195080181678954 13.6804163530968 52.116343789165455 13.851142815408348 53.03760739665196 13.206175397375393 53.71723316800583 12.561207979342438 54.39685893935972 11.63227684397304 54.27454334283263 10.703345708603642 54.15222774630555 10.256289083105727 53.32881136742371 9.809232457607813 52.50539498854188 10.212617010162582 51.65972657706334 10.616001562717353 50.8140581655848 11.53726517020385 50.64333170327325 12.458528777690349 50.4726052409617 13.13815454904423 51.11757265899465 13.817780320398114 51.76254007702761 13.695464723871032 52.691471212397005 13.57314912734395 53.6204023477664 12.281335431135231 55.00059363584565 10.989521734926512 56.38078492392489 9.485586722887142 58.55531961816557 7.981651710847769 60.72985431240624 6.441661690668353 62.81595055330128 4.901671670488935 64.90204679419632 2.3800505374769596 65.77511030306428 -0.14157059553501572 66.64817381193225 -0.8292301937265504 65.60087876263668 -1.516889791918085 64.55358371334111 -1.5084448959590424 62.67801628359574 -1.5 60.802448853850365 -1.5 57.97047760337591 -1.5 55.13850635290146 -1.5 51.40437135100365 -1.5 47.670236349105835 -1.5 42.44121587276459 -1.5 37.21219539642334 -1.5 31.11740255355835 -1.5 25.02260971069336 -1.7335694884479567 18.4354305267334 -1.9671389768959133 11.848251342773438 -2.2448740448700626 7.809104919433594 -2.522609112844212 3.76995849609375 -1.5932872431797016 2.097747802734375 -0.6639653735151914 0.425537109375 -0.3319826867575957 0.1307373046875 0 -0.1640625 0 -0.1640625 0 -0.1640625 0 -0.1640625 0 -0.1640625 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN Z"></path></g></svg>
```