Fixed issue if random location does not change