Add polygon perimeter drawing

Thanks, these should now be fixed.