fixed regression with Polygon generateAxes