Fix bug with location always using lat long after first use of it.