Maps escapes the sandbox in order to get the user's location. It should use the location portal instead.