[8718] Remove most GetObjectInWorld functions and move some map local to Map