PolygonCollider2D replaced with EdgeCollider2D

Issue with wrong collider generation fixed (to be tested)