The sudden change of colour on the wall had upset its sense of direction and it buzzed about angrily and eventually it came into the porch where I was sitting and it stayed there for a few minutes and then went outside  searching the wall again for the entrance.