Added friction and fixed teleport