fixes issue #2
Fixes a bug in `MapWidget.get_context`:

when the widget comes from an error, the 'value' parameter might be
distorted and that wasn't being checked.