Bones randomly moving after parenting??

So I’m making a puppet in harmony essentials and everything was working fine until I was setting up pegs and parenting stuff and some of the bones just moved? Almost the whole page away? I tried remaking the bones but that had the same result. Also, sometimes when I move the bones it will create this glitch where the vector line shoots out of somewhere and I can’t find a way to fix it. Starting animation college soon!