Added check for map offset.

If the map is not positioned at the top-left of the page - perhaps
absolutely positioned - the drawn shape is off-centered by the same
amount. This accounts for that.
Merge pull request #25 from hotmeteor/master

Added check for map offset.