Polysize.js bug fix