It does that on the original NES Zelda 1 game that the wall masters do come out of the wall after the clock is picked up. It should be not a bug.