Yes, to some extent they are hard wired. They learn the location of the hive when they first start flying, and that stays with them. If a hive is moved say, just 2 or 3 meters, even though they can see it, they will still first go to where it was. Then they will circle around a bit until they "find" the hive. This may continue for several weeks. Incredible GPS.