added a hack for imagefilledpolygon bug