Bugfix dumping polygon gliders

The onPolygon property was not included in the dump, gliders on polygons were restricted to one segment when executing the dump.