Julián Álvarez scored a second-half winner as Atletico Madrid moved back into third place in the Spanish league with a 1-0 victory at Mallorca on Sunday.