Fix bug in redisplay of map if there was an error in item validation.

If no location was set, and the item submission didn't validate (like for an invalid file type), the map went crazy when the form was reloaded.