Fixes inject custom user location with setLocation ignored.