Pets a companions disappear or move away from the person that summons them

pets and companions move away from character when you get close to the ,need a stay button or remove the ability that allows them to move away from the character that summoned them ,and also they dissapper instantl if you summon them in a out of the ordinary places you go like mountains or beside steps areas , like doing panoramas change this ,and the time limit as they disappear after thirty mins.