fix($location): respect base href