fixing the hide method repositioning of player