svg extension defs parse bug fix