Fixed bad coordinate checks in MGMap