Fixed inverse projection example for Firefox

Firefox does not provide the mouse event properties offsetX and offsetY.
This fix uses the map container's offsets instead.
Removed redundant check of target class
Merge pull request #223 from datag/develop

Fixes for inverse projection example