Update polygon.class.js

Dividing the offset in that way fix gradient positioning inside de polygon.