bugfix for non-filled svg paths being closed closes #2364

bugfix for non-filled svg paths being closed closes #2364