Made positioning detect bottom and right edge of players.