Fixed a map widget issue