Fix $location behaviour for the mob devices