Fixed for..in loop iteration and bug from last bugfix

"However, you also want to make sure that the key you get is an actual
property of an object, and doesn't come from the prototype." which is
why the hasOwnProperty thing.

Also, it seems as though radius is defined for polygons? previous fix
made a circle out of a polygon...