polgons are being scaled

plus some bugfixes