A couple of fixes in GetGeometry

- Make ext variable local.
- Fix typo in borderWidth attribute.
Merge pull request #25 from santigimeno/get_geometry_fixes

A couple of fixes in GetGeometry