set map widget size correctly