fix($location): allow numeric location setter arguments

Fixes #7054