Update polygon.class.js

Some svg triggerend some situations making me belivie i don't have to touch anything if i'm parsing a svg.