A witness had told Gardaí that the child was alone and on a ledge of the three-storey building