Real Madrid coach Carlo Ancelotti is confident his tactical decision to switch Kylian Mbappe's position in attack paid off after the Frenchman broke his goal drought in Sunday's 3-0 win at Leganes.