Minor fix to SVG to flatten negative dimensions to 0, fixed #18082

This is a minor enhancement/cleanup patch to normalize negative items back to 0 to avoid chrome emitting annoying messages in the debug console.   See dojo ticket: https://bugs.dojotoolkit.org/ticket/18082