Map area detection fix