Update eeschema-component.js

Fixed polygon rendering.