fixed checking position of inactive players